{include file="public/meat" title="订单列表"/}
<div class="layout cx-fex-c">
    <div class="x11">
        {include file="order/head"/}
        <form class="layui-form layui-form-pane mt-15" role="form" action="" method="post">
            <table id="table" class="cx-teble cx-teble-bor-w cx-teble-bor cx-table-striped cx-table-hover cx-table-responsive-w">
                <thead>
                <tr>
                    <th class="t-c" width="80">{if $btn.del}<label><input id="all" class="inverted" type="checkbox" lay-ignore> 全选</label>{/if}</th>
                    <th>商品名</th>
                    <th>昵称</th>
                    <th>联系人</th>
                    <th>联系电话</th>
                    <th>身份证号</th>
                    <th>下单时间</th>
                    <th>支付金额</th>
                    <th class="t-c" width="80">状态</th>
                    {if $btn.del || $btn.edit}<th class="t-c" width="120">编辑</th>{/if}
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="cx"}
                <tr>
                    <td class="t-c {if $btn.del}alltd{/if}">
                        {if $btn.del}<input class="inverted" name="pdel[]" type="checkbox" lay-ignore value="{$cx.oid}">{/if}
                    </td>
                    <td>{$cx.title}</td>
                    <td>{$cx.conf.nickname}</td>
                    <td>{$cx.conf.name}</td>
                    <td>{$cx.conf.phone}</td>
                    <td>{$cx.conf.identity}</td>
                    <td>{$cx.addtime|date="Y-m-d h:i:d",###}</td>
                    <td>{:number_format($cx['pricemoney'] / 100,'2')}</td>
                    <td class="t-c">{$cx.playstatuszh}</td>
                    {if $btn.del || $btn.edit}
                    <td class="t-c">
                        {if $btn.edit}<a class="button button-S bg-blue mr-5" href="{:url('edit',array('in'=>'chongzhi','oid'=>$cx['oid']))}" title="编辑【{$cx.title}】导航"><i class="cx-icon cx-icon-icon-1 t-18"></i></a>{/if}
                        {if $btn.del}<a class="button button-S bg-red cx-click" data-id="{$cx['oid']}" data-href="{:url('del')}" data-type="deldata"><i class="cx-icon cx-icon-lajixiang t-18"></i></a>{/if}
                    </td>
                    {/if}
                </tr>
                {/volist}
                </tbody>
            </table>
            <div class="t-c mt-20">
                {$list->render()}
            </div>
            <div class="t-c mt-20">
                <a class="button button-S bg-blue" data-type="csv" data-cid="table" onclick="allcsv(this)">全部导出</a>
                <a class="button button-S bg-blue" data-type="csv" data-cid="table" onclick="closcsv(this)">选择导出</a>
                <button class="button button-S bg-red" data-href="{:url('pdel')}" data-type="pdel" lay-submit="" lay-filter="sd-btn">批量删除</button>
            </div>
            <div class="text-c pad-t20"></div>
        </form>
    </div>
</div>


{include file="public/js" /}
<script>
    layui.config({
        base: '__ADMIN__/js/'
    }).use('app');
</script>
{include file="order/foot" /}
{include file="public/footer" /}
<table id="xue" class="cx-teble table table-border table-bordered table-striped table-hover table-bg" style="display: none">
    <thead>
    <tr>
        <th>订单编号</th>
        <th>商品名</th>
        <th>昵称</th>
        <th>联系人</th>
        <th>联系电话</th>
        <th>身份证号</th>
        <th>下单时间</th>
        <th>支付金额</th>
        <th>状态</th>
        {if $btn.del}<th class="text-c" width="100">编辑</th>{/if}
    </tr>
    </thead>
    <tbody>
    </tbody>
</table>